package cn.rokhdelar.ams.management.service;

import cn.rokhdelar.ams.management.domain.po.SysDictionaryItem;
import cn.rokhdelar.ams.management.domain.vo.DictionaryItemVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author Rokhdelar
 * @since 2024/10/21 -- 16:56
 **/
public interface SysDictionaryItemService extends IService<SysDictionaryItem> {
    List<DictionaryItemVO> getDictionaryItemList(String dictionaryId);

    DictionaryItemVO getDictionaryItemById(String itemId);

    Boolean addDictionaryItem(String dictionaryId, DictionaryItemVO dictionaryItemVO);

    Boolean updateDictionaryItemById(String dictionaryId, DictionaryItemVO dictionaryItemVO);

    Boolean deleteDictionaryItemById(String itemId);

    List<DictionaryItemVO> getDictionaryItemListByKey(String key);

    DictionaryItemVO getDictionaryItemListByKeyAndStatus(String key,String status);
}
